{$xp_currentnav_html.'<!--END-->'}
{if $xdebug=="Y"}{$src|htmlentities}{/if}
<iframe id="iiframe" src="{$src|htmlentities}" width="100%" frameborder="no" border="0" marginwidth="0" marginheight="0"
    scrolling="yes" allowtransparency="yes"></iframe>
<script>
    function calcIframeHeight() {
        var iframe = document.getElementById("iiframe");
        var viewportHeight = window.innerHeight;
        iframe.style.height = (viewportHeight - 115) + "px";
    }
    window.addEventListener("resize", function () {
        calcIframeHeight();
    });
    calcIframeHeight();
</script>